Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: Improve KubernetesRouter selection based on apiGroup #1750

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

kahirokunn
Copy link
Contributor

Allow .spec.targetRef to specify custom resources, which typically use mesh routers. Prevent unnecessary resources by strictly handling Deployment and DaemonSet based on apiGroup derived from apiVersion.

Allow `.spec.targetRef` to specify custom resources, which typically use mesh routers.
Prevent unnecessary resources by strictly handling Deployment and DaemonSet based on apiGroup derived from apiVersion.

Signed-off-by: kahirokunn <[email protected]>
@codecov-commenter
Copy link

Codecov Report

Attention: Patch coverage is 11.11111% with 8 lines in your changes missing coverage. Please review.

Project coverage is 39.30%. Comparing base (febc327) to head (ae879cd).
Report is 16 commits behind head on main.

Files with missing lines Patch % Lines
pkg/router/factory.go 0.00% 7 Missing ⚠️
pkg/controller/finalizer.go 0.00% 1 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##             main    #1750      +/-   ##
==========================================
+ Coverage   39.27%   39.30%   +0.02%     
==========================================
  Files         284      284              
  Lines       22379    22393      +14     
==========================================
+ Hits         8789     8801      +12     
- Misses      12643    12645       +2     
  Partials      947      947              

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants